/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Charge.Model;

namespace JDCloudSDK.Pod.Model
{

    /// <summary>
    ///  pod 详情
    /// </summary>
    public class Pod
    {

        ///<summary>
        /// pod ID
        ///</summary>
        public string PodId{ get; set; }
        ///<summary>
        /// pod 名称
        ///</summary>
        public string Name{ get; set; }
        ///<summary>
        /// 描述信息，默认为空。
        ///</summary>
        public string Description{ get; set; }
        ///<summary>
        /// 可用区
        ///</summary>
        public string Az{ get; set; }
        ///<summary>
        /// 主机名
        ///</summary>
        public string Hostname{ get; set; }
        ///<summary>
        /// pod 所需的计算资源规格
        ///</summary>
        public string InstanceType{ get; set; }
        ///<summary>
        /// pod重启策略
        ///</summary>
        public string RestartPolicy{ get; set; }
        ///<summary>
        /// 优雅关闭的时间
        ///</summary>
        public int? TerminationGracePeriodSeconds{ get; set; }
        ///<summary>
        /// 主网卡所属vpcId
        ///</summary>
        public string VpcId{ get; set; }
        ///<summary>
        /// 主网卡所属子网的ID
        ///</summary>
        public string SubnetId{ get; set; }
        ///<summary>
        /// 主网卡主IP地址
        ///</summary>
        public string PrivateIpAddress{ get; set; }
        ///<summary>
        /// pod内容器的/etc/resolv.conf配置
        ///</summary>
        public DnsConfig DnsConfig{ get; set; }
        ///<summary>
        /// 容器日志配置信息；默认会在本地分配10MB的存储空间
        ///</summary>
        public LogConfig LogConfig{ get; set; }
        ///<summary>
        /// pod内容器的/etc/hosts配置
        ///</summary>
        public List<HostAlias> HostAliases{ get; set; }
        ///<summary>
        /// 属于Pod的volume列表，提供挂载到containers上。
        ///</summary>
        public List<Volume> Volumes{ get; set; }
        ///<summary>
        /// pod内的容器信息
        ///</summary>
        public List<Container> Containers{ get; set; }
        ///<summary>
        /// pod状态信息
        ///</summary>
        public PodStatus PodStatus{ get; set; }
        ///<summary>
        /// 主网卡主IP关联的弹性IP规格
        ///</summary>
        public ElasticIp ElasticIp{ get; set; }
        ///<summary>
        /// 主网卡配置信息
        ///</summary>
        public NetworkInterfaceAttachment PrimaryNetworkInterface{ get; set; }
        ///<summary>
        /// Tags
        ///</summary>
        public List<Tag> Tags{ get; set; }
        ///<summary>
        /// 计费配置；如不指定，默认计费类型是后付费-按使用时常付费
        ///</summary>
        public JDCloudSDK.Charge.Model.Charge Charge{ get; set; }
        ///<summary>
        /// Pod创建时间
        ///</summary>
        public string CreateTime{ get; set; }
    }
}
